package com.kd.d5000acquire.config;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedQueue;

@Configuration
public class MyQueue {
    @Bean(name = "myMessageQueue")
    public Queue getQueue() {
        return new ConcurrentLinkedQueue();
    }
}
